<template>
  <div id="app">
    <!-- <keep-alive include="Shopping,AddAddress">
      <van-loading size="60" class="centerLoading" v-show="vanLoadingIsShow"/>
      <router-view/>
    </keep-alive> -->
    <keep-alive>
      <van-loading size="60" class="centerLoading" v-show="vanLoadingIsShow"/>
      <router-view/>
    </keep-alive>
    <!-- <router-view v-if="!$route.meta.Shopping"/> -->
  </div>
</template>

<script>
import {state} from './store'

export default {
  name: 'App',
  computed: {
    vanLoadingIsShow () {
      return state.vanLoadingIsShow
    }
  }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
}
  #app {
    width: 100%;
    /* height: 1334px; */
    overflow: hidden;
  }
  .centerLoading{
    position: absolute;
    z-index: 999;
    left: 48%;
    top: 48%;
    transform: translate(-50%, -50%);
  }
</style>
